﻿#pragma once
#include "contract_type.h"
#include "factor_type.h"
#include <memory>
#include <unordered_map>
#include<vector>
#include <list>

class Strategy {

public:
	Strategy();

	uint32_t id;//对应数据库中的id
	std::string code;//代码，代号
	std::string name;//中文名称
	uint32_t collection_id;
	std::list<FactorCondition> factor_conditions;
	void load_factor_condiotions(std::string str);
};